import { ModuleWithProviders }  from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { LiveCoverComponent,LiveListComponent } from './live/index';
import { TestComponent } from './test/index';
import { HotSpotComponent } from './hot-spot/index';
import { AppComponent } from './app.component'

const appRoutes: Routes = [
  {
    path: 'admin',
    component: AppComponent,
  },
  {
    path: 'test',
    component: TestComponent,  
  },
  {
    path:'liveList',
    component: LiveListComponent
  },
  {
    path: 'liveCover',
    component: LiveCoverComponent, 
  }
  ,
  {
    path: 'hotSpot',
    component: HotSpotComponent, 
  }
];





export const appRoutingProviders: any[] = [

];

export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes);

